package com.ruoyi.common.enums.pay;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum TimeUnit
{
    DAY(4, "天"),
    HOUR(3, "时"),
    MINUTE(2, "分"),
    SECOND(1, "秒");


    private final int code;
    private final String info;

    TimeUnit(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
